home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / Illustrator 6.0 SDK r1 Mac / AI Plugin Interface / AIBlock.h < prev    next >
Text File  |  1995-12-21  |  1KB  |  80 lines

  1. /**
  2.  
  3.     AIBlock.h
  4.     Copyright (c) 1995 Adobe Systems Incorporated.
  5.     All Rights Reserved
  6.  
  7.     Adobe Illustrator 6.0 Memory Management Suite.
  8.  
  9.  **/
  10.  
  11. #ifndef __AIBlock__
  12. #define __AIBlock__
  13.  
  14.  
  15. /*******************************************************************************
  16.  **
  17.  **    Imports
  18.  **
  19.  **/
  20.  
  21. #include "AITypes.h"
  22.  
  23.  
  24. #if Macintosh
  25.     #ifdef __cplusplus
  26.     extern "C" {
  27.     #endif
  28.     
  29.     #if PRAGMA_ALIGN_SUPPORTED
  30.     #pragma options align=mac68k
  31.     #endif
  32.     
  33.     #if PRAGMA_IMPORT_SUPPORTED
  34.     #pragma import on
  35.     #endif
  36. #endif
  37.  
  38.  
  39. /*******************************************************************************
  40.  **
  41.  **    Constants
  42.  **
  43.  **/
  44.  
  45. #define kAIBlockSuite            "AI Block Suite"
  46. #define kAIBlockVersion            2
  47.  
  48.  
  49. /*******************************************************************************
  50.  **
  51.  **    Suite
  52.  **
  53.  **/
  54.  
  55. typedef struct {
  56.  
  57.     MACPASCAL FXErr (*AllocateBlock) ( long size, void **block );
  58.     MACPASCAL FXErr (*DisposeBlock) ( void *block );
  59.     MACPASCAL FXErr (*ReallocateBlock) ( void *block, long newSize, void **newBlock );
  60.     MACPASCAL FXErr (*SizeOfMemoryBlock) ( void *block, long *size );
  61.  
  62. } AIBlockSuite;
  63.  
  64.  
  65. #if Macintosh
  66.     #if PRAGMA_IMPORT_SUPPORTED
  67.     #pragma import off
  68.     #endif
  69.     
  70.     #if PRAGMA_ALIGN_SUPPORTED
  71.     #pragma options align=reset
  72.     #endif
  73.     
  74.     #ifdef __cplusplus
  75.     }
  76.     #endif
  77. #endif
  78.  
  79.  
  80. #endif